/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db.factories;

import db.interfaces.SchoolDAO;
import db.xml.SchoolXMLDAO;






/**
 *
 * @author Peter
 */
public class SchoolDAOFactory {

    public static enum DAOTYPE{ JDBC };

    public static SchoolDAO getDAO(DAOTYPE type)
    {
        switch(type)
        {
            case JDBC:
                //todo
            
            
            default:
            return null;
        }

    }

    public static SchoolDAO getDAO(DAOTYPE type, String source)
    {
        switch(type)
        {
            case JDBC:
                //Todo
            default:
            return null;
        }

    }
}